package com.ruoyi.system.service;

import java.text.ParseException;
import java.util.List;
import com.ruoyi.system.domain.AppliDetail;
import com.ruoyi.system.domain.Requisitions;

/**
 * 租赁采购Service接口
 * 
 * @author ruoyi
 * @date 2021-04-30
 */
public interface IAppliDetailService 
{
    /**
     * 查询租赁采购
     * 
     * @param appliId 租赁采购ID
     * @return 租赁采购
     */
    public AppliDetail selectAppliDetailById(Long appliId);

    /**
     * 查询租赁采购列表
     * 
     * @param appliDetail 租赁采购
     * @return 租赁采购集合
     */
    public List<AppliDetail> selectAppliDetailList(AppliDetail appliDetail);

    /**
     * 新增租赁采购
     * 
     * @param appliDetail 租赁采购
     * @return 结果
     */
    public int insertAppliDetail(AppliDetail appliDetail) throws ParseException;

    /**
     * 修改租赁采购
     * 
     * @param appliDetail 租赁采购
     * @return 结果
     */
    public int updateAppliDetail(AppliDetail appliDetail) throws ParseException;

    /**
     * 批量删除租赁采购
     * 
     * @param appliIds 需要删除的租赁采购ID
     * @return 结果
     */
    public int deleteAppliDetailByIds(Long[] appliIds);


    //查询器具采购详情
    AppliDetail queryAppliDetailListById(Long id) throws ParseException;
}
